package com.mjlf.shareresource.db.service;

import com.mjlf.shareresource.db.dao.UserDao;
import com.mjlf.shareresource.db.entity.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ClassName UserService
 * @Author mjlft
 * @Date 2019/4/19 21:16
 * @Version 1.0
 * @Description TODO
 */
@Service
public class UserService implements UserDao {

    @Autowired
    private UserDao userDao;

    @Override
    public int save(User user) {
        return userDao.save(user);
    }
}
